<style>

</style>

<template>
    <div id="app-layout">
        <navigation></navigation>
        <router-view></router-view>
    </div>
</template>

<script>
    import Navigation from '../components/global/Navigation.vue';

    export default {
        components: {
            Navigation
        },
        created() {
            this.$store.dispatch('loadCafes'); //初始化，请求服务器，加载所有的Cafes数据
            // this.$store.dispatch('loadUser');
        }
    }
</script>